package routers

import (
	"fmt"
	"togethorGo/handler"
)

var (
	orderRouters []Router
)

func init() {
	fmt.Println("init order")
	orderRouters = append(orderRouters, NewRouter("v1", "/order/pub", handler.HandleOrderNew, true))
	orderRouters = append(orderRouters, NewRouter("v1", "/order/info", handler.HanlerOrderInfo, true))
	orderRouters = append(orderRouters, NewRouter("v1", "/order/cancel", handler.HanlerOrderCancel, true))
}
